<?php get_header(); ?>
<?php $theme_options = get_option('po_theme'); $p = $theme_options['portfolio_cat']; ?>
	<div id="content"<?php if (is_category($p)) {echo " class=\"cfull\"";} ?>>
	<div id="cc">
		<div id="bread">
			<div id="breadbox">
				<?php // BREADCRUMBS
					if (function_exists('yoast_breadcrumb')) {yoast_breadcrumb('<div id="breadcrumbs">','</div>');}
				?>
				<div class="clear"><!-- --></div>
			</div><!-- end breadbox -->
		</div>
<?php // SEPARATE 'PORTFOLIO' ARCHIVE TEMPLATES
	if ($theme_options['enable_portfolio'] == "enable") {
		if (is_category($p)) {
			if ($theme_options['portfolio_posts_template'] == "1-in-row" ) {include(TEMPLATEPATH."/inc/portfolio_posts/portfolio_1.php");}
			elseif ($theme_options['portfolio_posts_template'] == "2-in-row" ) {include(TEMPLATEPATH."/inc/portfolio_posts/portfolio_2.php");}
			elseif ($theme_options['portfolio_posts_template'] == "3-in-row" ) {include(TEMPLATEPATH."/inc/portfolio_posts/portfolio_3.php");}
			elseif ($theme_options['portfolio_posts_template'] == "4-in-row" ) {include(TEMPLATEPATH."/inc/portfolio_posts/portfolio_4.php");}
		} 
		else {
			include(TEMPLATEPATH."/inc/archive_default.php");
		}
	}
	else { 
		include(TEMPLATEPATH."/inc/archive_default.php");
	}
?>

<?php get_footer(); ?>